package com.zhongwang.business.gen.entity;

public class BProductstructure {
    private Integer id;

    private Integer fkId;

    private String code;

    private Integer ptype;

    private String partCode;

    private String partName;

    private Integer isDelete;

    public BProductstructure(Integer id, Integer fkId, String code, Integer ptype, String partCode, String partName, Integer isDelete) {
        this.id = id;
        this.fkId = fkId;
        this.code = code;
        this.ptype = ptype;
        this.partCode = partCode;
        this.partName = partName;
        this.isDelete = isDelete;
    }

    public BProductstructure() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFkId() {
        return fkId;
    }

    public void setFkId(Integer fkId) {
        this.fkId = fkId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Integer getPtype() {
        return ptype;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public String getPartCode() {
        return partCode;
    }

    public void setPartCode(String partCode) {
        this.partCode = partCode == null ? null : partCode.trim();
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName == null ? null : partName.trim();
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}